// 初始化代码
export const initCode = `
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Cesium地图封装demo</title>
   <link rel="stylesheet" href="./css/public.css" />
  <script src="./js/vue3.js"></script>
  <script src="./lib/csmMap.min.js"></script>
  
  <style>
     #csmMap {
      width: 100%;
      height: 100%;
    }
  </style>
</head>

<body>
  <!-- Cesium地图 -->
 <div id="app">
    <div id="csmContainer"></div>
  </div>
</body>

<script>
  const cmsMap = new CsmMap('csmContainer', {
    jsUrl,
    cssUrl,
    center: [86.35332596282456, 41.6864195861039, 2500000]
  })
  cmsMap.on('load', () => {
    console.log(cmsMap, 'cmsMap...')
  })
</script>

</html>`